package cn.study.vue_project_xxx.service;


import cn.study.vue_project_xxx.entity.dto.RegisterUserDTO;
import cn.study.vue_project_xxx.entity.po.TAdmin;
import cn.study.vue_project_xxx.entity.po.UserInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface UserService {

    /**
     * 新增普通用户
     * @param registerUserDTO 注册参数
     * @return Boolean
     */
    public Boolean addUser(RegisterUserDTO registerUserDTO);
    /**
     * 修改普通用户
     * @param registerUserDTO 接受用户修改参数
     * @return Boolean
     */
    public Boolean updateUser(UserInfo registerUserDTO);

    public boolean deleteUser(List<Long> userIds);

    Page<UserInfo> selectUsers(Page<UserInfo> page, List<Long> userIds);


}
